<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_login.ascx.cs" Inherits="Controls_ctrl_login" %>

<div class="pageLogin">
	<asp:Label runat="server" CssClass="editBoxTitle" ID="txtH1" Text="<% $Resources:loginLogin %>" />
	
	<br />
	<br />
	
	<asp:PlaceHolder runat="server" ID="errLogin" />
	
	<div>
		<div class="divLoginTextBox">
			<asp:Literal ID="Literal19" runat="server" Text="<% $Resources:loginUser %>" />
		</div>
		<asp:TextBox ID="txtUsername" runat="server" TextMode="SingleLine" CssClass="inputDefault" />
	</div>
	
	<div>
		<div class="divLoginTextBox">
			<asp:Literal ID="Literal1" runat="server" Text="<% $Resources:loginPassword %>" />
		</div>
		<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="inputDefault" />
	</div>
	
	<div class="divLoginBox">
		<div class="divLoginTextBox">&nbsp;</div>
		<asp:Button ID="btnLogin" Text="<% $Resources:loginButton %>" 
			runat="server" OnClick="btnLogin_Click" CssClass="btnDefault" />
	</div>
	
	<br />
	<br />
	
	<div class="smallText">
		<a class="listFooter" href="login.aspx?id=signup">
		<asp:Literal runat="server" ID="litPegister" Text="<% $Resources:loginRegister %>" />
		</a>
		|
		<a class="listFooter" href="login.aspx?id=retrieve">
		<asp:Literal runat="server" ID="litRetrieve" Text="<% $Resources:loginRetrieve %>" />
		</a>
	</div>
	
	<script language="javascript" type="text/javascript">
		document.getElementById('<%=txtUsername.ClientID.ToString()%>').select();
		document.getElementById('<%=txtUsername.ClientID.ToString()%>').focus();
	</script>
	
	<br />
</div>
